package trading_strategy.instruments;

import java.util.Date;

/**
 * Created by IntelliJ IDEA.
 * User: gderoujoux
 * Date: 6 mai 2010
 * Time: 10:50:15
 * To change this template use File | Settings | File Templates.
 */
public class Derivative extends ListedInstrument {
    Date expiryDate;
    String underlyingId;

    public Derivative(Integer id, String underlyingId, Integer marketId, Date expiryDate, double multiplier, double tick) {
        super(id, marketId, multiplier, tick);
        this.underlyingId = underlyingId;
        this.expiryDate = expiryDate;
    }

    public String getUnderlyingId() {
        return underlyingId;
    }
}
